package com.company作业;

import java.util.Scanner;

public class 第三章作业第三次作业第三题 {
    public static void main(String[] args) {
        Scanner ZFX = new Scanner(System.in);
        System.out.println("请输入正方形边长");
        int BC = ZFX.nextInt();
        for (int i = 1; i <= BC; i++) {
            for (int j = 1; j <= BC; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}

